﻿<workflow id="4">
  <start>400</start>
  <step id="400" type="2">
    <next>
      <condition>
        <![CDATA[
      select check_userrole(@createUserId,4);
      ]]>
      </condition>
      <true>401</true>
      <false>402</false>
    </next>
    <remark>判断是否为员工</remark>
  </step>
  <step id="401" type="1">
    <name>部门经理审批</name>
    <task>1</task>
    <next>402</next>
  </step>
  <step id="402" type="1">
    <name>设备保管人审批</name>
    <task>6</task>
  </step>
</workflow>